package com.my.coolq.api.request;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * 退群
 * @author ch
 *
 */
public class GroupLeaveRequest implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6443345790314038305L;

	/**
	 * 群qq号码
	 */
	private Long group_id;
	
	/**
	 * 是否解散，如果登录号是群主，则仅在此项为 true 时能够解散
	 */
	private Boolean is_dismiss;
	

	public GroupLeaveRequest() {
		super();
	}

	public GroupLeaveRequest(Long group_id) {
		super();
		this.group_id = group_id;
	}

	public GroupLeaveRequest(Long group_id, Boolean is_dismiss) {
		super();
		this.group_id = group_id;
		this.is_dismiss = is_dismiss;
	}

	public Long getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}

	public Boolean getIs_dismiss() {
		return is_dismiss;
	}

	public void setIs_dismiss(Boolean is_dismiss) {
		this.is_dismiss = is_dismiss;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
	
	
}
